﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/AdminMaster.Master" Inherits="System.Web.Mvc.ViewPage<VietThuongLMS.ViewModels.GiaoVienDetailViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<% if (Model != null && Model.giaoVienModel != null)
   { %>

        <legend>
        Thông Tin Giáo Viên
    </legend>

    <div class="control-group">
        <div class="display-label">Tên Đăng Nhập: 
        <%: Model.giaoVienModel.TaiKhoan.MaTaiKhoan%></div>
    </div>
        
    <div class="control-group">
        <div class="display-label">Tên Giáo Viên: 
        <%: Model.giaoVienModel.TaiKhoan.HoTen%></div>
    </div>

    <div class="control-group">
        <div class="display-label">Địa Chỉ: 
        <%: Model.giaoVienModel.TaiKhoan.DiaChi%></div>
    </div>

    <div class="control-group">
        <div class="display-label">Điện Thoại: 
        <%: Model.giaoVienModel.TaiKhoan.DienThoai%></div>
    </div>

    <div class="control-group">
        <div class="display-label">Ngày Sinh: 
        <%: Model.giaoVienModel.TaiKhoan.NgaySinh.ToString() != "" ? Model.giaoVienModel.TaiKhoan.NgaySinh.Value.ToString("dd/MM/yyyy") : ""%></div>

    </div>

    <div class="control-group">
        <div class="display-label">Nghề Nghiệp: 
        <%: Model.giaoVienModel.TaiKhoan.NgheNghiep%></div>
    </div>

    <div class="control-group">
        <div class="display-label">Nơi Công Tác: 
        <%: Model.giaoVienModel.TaiKhoan.NoiCongTac%></div>
    </div>

    <div class="control-group">
        <label class="control-label" for="strFrom">
            Ảnh đại diện:</label>
        <div class="controls">
            <img src="<%=ResolveUrl("~/Images/Avatar/")%><%=@Model.giaoVienModel.Avatar %>" alt="<%=@Model.giaoVienModel.Avatar %>" />
            <br />
        </div>
    </div>

    
    <%--<div class="control-group">
        <div class="display-label">Lớp: 
        <%: Model.giaoVienModel.TaiKhoan.Lop%></div>
    </div>--%>

    <legend>
    Học Vấn & Kinh Nghiệm
    </legend>

    <fieldset>
        <div class="control-group">
            <div class="display-label">Học Vấn: 
            <%: Model.giaoVienModel.HocVan%></div>
        </div>

        <div class="control-group">
            <div class="display-label">Kinh Nghiệm Giảng Dạy: 
            <%: Model.giaoVienModel.KinhNghiemGiangDay%></div>
        </div>

        <div class="control-group">
            <div class="display-label">Kinh Nghiệm Biểu Diễn: 
            <%: Model.giaoVienModel.KinhNghiemBieuDien%></div>
        </div>

        <div class="control-group">
            <div class="display-label">Môn Dạy: 
            <%: Model.giaoVienModel.MonHoc.TenMonHoc%></div>
        </div>

    </fieldset>

    <div class="btn btn-primary">
        <a href="<%=ResolveUrl("~/Admin/GiaoVien/Index") %>">
        <button class="btn btn-primary">
        <i class="icon-reply"></i>
            Quay lại danh sách
        </button></a>
    </div>

<% }
   else
   { %>
   <div>
   </br>
    <h3>Hiện Không Có Dữ Liệu!</h3>
   </div>
<% } %>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>

